/**
 * 
 */
package de.cbf.cam.dsa.dataprovider.maneuvers;

import java.util.ArrayList;
import java.util.List;

import de.cbf.cam.dice.entities.RollDataSum;
import de.cbf.cam.dsa.model.definitions.BattleRollDefinition;

import de.cbf.cam.dsa.model.entities.BattleChar;
import de.cbf.cam.dsa.model.entities.Environment;
import de.cbf.cam.dsa.model.entities.maneuvers.ManeuverResolverBase;

import de.cbf.util.entities.IntString;
import de.cbf.util.modifier.entities.ModifierString;


/**
 * @author Nebelritter
 *
 */
public class DummyResolver extends ManeuverResolverBase {

	@Override
	public ManeuverResolverBase clone(){
		DummyResolver resolver = new DummyResolver();
		resolver.setAccordingManeuver(accordingManeuver);
		return resolver;
	}	
	
	/* (non-Javadoc)
	 * @see de.cbf.cam.dsa.model.entities.maneuvers.ManeuverResolverBase#isPossibleFromSituation(de.cbf.cam.dsa.model.entities.BattleChar, de.cbf.cam.dsa.model.entities.BattleChar, de.cbf.cam.dsa.model.entities.Environment)
	 */
	@Override
	public List<IntString> isPossibleFromSituation(BattleChar attacker,
			BattleChar defender, Environment env) {
		List<IntString> resultList =  new ArrayList<IntString>();
		resultList.add(new IntString(0,"Reason"));
		
		return resultList;
	}
	
	@Override
	public List<BattleRollDefinition> provideRollDefinitions(){
		List<BattleRollDefinition> list = new ArrayList<BattleRollDefinition>();
		BattleRollDefinition definition = new BattleRollDefinition();
		RollDataSum throwDataSum = new RollDataSum();
		throwDataSum.setName("Dummy");
		throwDataSum.setDiceSides(new int[6]);//1w6+0 (no modifiers)
		definition.setThrowData(throwDataSum);
		list.add(definition);
		return list;
	}

	@Override
	public List<ModifierString> getModifiers() {
		List<ModifierString> resultList = new ArrayList<ModifierString>();
		return resultList;
	}	
}
